From 33121e0f804272cd1996c3c808bf7c49586dff67 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 30 Aug 2002 04:29:47 +0000 Subject: [PATCH] Make waypt_head non-static. The purity isn't worth the pain. Add test for magproto to testo. --- gpsbabel/ChangeLog | 3 +++ gpsbabel/magproto.c | 1 + gpsbabel/testo | 4 ++++ gpsbabel/waypt.c | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gpsbabel/ChangeLog b/gpsbabel/ChangeLog index e4e085b63..ff0fd40fc 100644 --- a/gpsbabel/ChangeLog +++ b/gpsbabel/ChangeLog @@ -1,2 +1,5 @@ NEW: blah blah NEW: Add Cetus support. Thanx to Ron Parker and Kjeld Jensen. +NEW: Windows support. You must download and install the expat dll if you + do not already have it. Get it from + http://sourceforge.net/projects/mingwrep/ diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index d261a1b55..dc226adfa 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -524,6 +524,7 @@ mag_wr_init(const char *portname) } static void + mag_deinit(void) { mag_handoff(); diff --git a/gpsbabel/testo b/gpsbabel/testo index 995f64638..73a7dedae 100755 --- a/gpsbabel/testo +++ b/gpsbabel/testo @@ -50,3 +50,7 @@ ${PNAME} -i geo -f geocaching.loc -o pcx -F /tmp/mm.pcx ${PNAME} -i pcx -f /tmp/mm.pcx -o gpsutil -F /tmp/pcx.gps diff /tmp/mm.gps /tmp/gu.wpt +# Magellan file format +${PNAME} -i magellan -f reference/magfile -o magellan -F /tmp/magfile +diff /tmp/magfile reference/magfile + diff --git a/gpsbabel/waypt.c b/gpsbabel/waypt.c index 20bb03bc3..0e47703c7 100644 --- a/gpsbabel/waypt.c +++ b/gpsbabel/waypt.c @@ -22,7 +22,7 @@ #include #include "defs.h" -static queue waypt_head; +queue waypt_head; static unsigned int waypt_ct; void -- 2.30.2